<div class="title_cate">
    <p class="left" id="title_video">Video mới chuyên mục <?php echo $this->cateName;?></p>
</div>
<div class="box_width_common content_cate_video">
    <?php if ($this->totalVideo){?>
    <ul class="list_video_155 box_width_common">
        <?php 
        $count = count($this->arrVideoData);
        $remainder = 5 - $count % 5;
        if($remainder == 5)
            $remainder = 0;
        foreach ($this->arrVideoData as $video){
        ?>
        <li>
            <div class="block_image_thumb">
                <a href="<?php echo $this->Articleurl($video); ?>" title="<?php echo $video['title'] ?>">
                    <img alt="<?php echo $video['title'] ?>" title="<?php echo $video['title'] ?>" onerror="this.src='<?php echo $this->Imageurlvideo('notfound.jpg', $this->imageSize['size3']);?>'" src="<?php echo $this->Imageurlvideo($video['thumbnail_url'], $this->imageSize['size3']);?>" width="155" height="116" title="<?php echo $video["title"];?>" alt="<?php echo $video["title"];?>" />
                    <span class="icon_play">&nbsp;</span>
                </a>
            </div>
            <h2>
                <a href="<?php echo $this->Articleurl($video); ?>" class="txt_black_hover_blue">
                    <?php echo $video['title'] ?>
                </a>
            </h2>
            <p class="txt_gray txt_11">Lượt xem: <?php echo $this->Articleview($video); ?></p>
        </li>
        <?php 
        }
        for($i = 0; $i < $remainder; $i++)
            echo '<li>&nbsp;</li>';
        ?>
    </ul>
    <?php if($this->totalPage > 1){ ?>
    <div class="more_bottom_detal box_width_common">
        <div class="txt_paging_video">
            <?php if($this->currPage > 1){ ?>
            <span class="icon_portal_thethao icon_back_more">&nbsp;</span> 
            <a class="txt_black_hover_blue" href="javascript:;" onclick="VideoPage.prevPage();">Quay lại </a>&nbsp; | &nbsp; 
            <?php } ?>
            <span class="txt_gray"><?php echo $this->currPage, '/', $this->totalPage; ?> trang</span> &nbsp; | &nbsp; 
            <?php if($this->currPage < $this->totalPage){ ?>
            <a class="txt_green" href="javascript:;" onclick="VideoPage.nextPage();"><b>Xem tiếp</b></a>
            <span class="icon_portal_thethao icon_view_more">&nbsp;</span>
            <?php } ?>
        </div>
    </div>
    <?php } ?>
    <?php }else{ ?>
    <p style="padding-top: 15px;"> Chuyên mục này chưa có video.</p>
    <?php } ?>
    <div class="clear">&nbsp;</div>
</div>